package graphs;

/**
 * 邻接链表节点
 */
public class ArcNode {
    private int adjVex;

    private ArcNode next;

    private double weight;

    public int getAdjVex() {
        return adjVex;
    }

    public ArcNode getNext() {
        return next;
    }

    public double getWeight() {
        return weight;
    }

    public void setAdjVex(int adjVex) {
        this.adjVex = adjVex;
    }

    public void setNext(ArcNode next) {
        this.next = next;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }
}
